__author__ = 'gnuhpc'
__email__ = 'gnuhpc@gmail.com'

import urllib2
from bs4 import BeautifulSoup

fp=urllib2.urlopen("http://pm25.moji001.com/index-33.html")

soup1 = BeautifulSoup(fp)

index = soup1.find(class_="pmaqiVLeft")
date_quality = soup1.find(class_='pmaqiVRight')
hints = soup1.find(class_='pmleftPrompt')

print date_quality.contents[3].text
print index.text
print date_quality.contents[1].text
print hints.contents[3].text





